package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

public class UserOpenPlatformInfo implements Serializable {
    private static final long serialVersionUID = 851954593149948322L;

    /**
     * This field corresponds to the database column user_open_platform_info.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_open_platform_info.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_open_platform_info.open_platform_id
     */
    private Integer openPlatformId = 0;

    /**
     * This field corresponds to the database column user_open_platform_info.token
     */
    private String token;

    /**
     * This field corresponds to the database column user_open_platform_info.open_id
     */
    private String openId;
    
    private String refreshToken;
    
    private Date expiresDate;

    /**
     * This method returns the value of the database column user_open_platform_info.id
     *
     * @return the value of user_open_platform_info.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_open_platform_info.id
     *
     * @param id the value for user_open_platform_info.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_open_platform_info.user_id
     *
     * @return the value of user_open_platform_info.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_open_platform_info.user_id
     *
     * @param userId the value for user_open_platform_info.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_open_platform_info.open_platform_id
     *
     * @return the value of user_open_platform_info.open_platform_id
     */
    public Integer getOpenPlatformId() {
        return openPlatformId;
    }

    /**
     * This method sets the value of the database column user_open_platform_info.open_platform_id
     *
     * @param openPlatformId the value for user_open_platform_info.open_platform_id
     */
    public void setOpenPlatformId(Integer openPlatformId) {
        this.openPlatformId = openPlatformId;
    }

    /**
     * This method returns the value of the database column user_open_platform_info.token
     *
     * @return the value of user_open_platform_info.token
     */
    public String getToken() {
        return token;
    }

    /**
     * This method sets the value of the database column user_open_platform_info.token
     *
     * @param token the value for user_open_platform_info.token
     */
    public void setToken(String token) {
        this.token = token;
    }

    /**
     * This method returns the value of the database column user_open_platform_info.open_id
     *
     * @return the value of user_open_platform_info.open_id
     */
    public String getOpenId() {
        return openId;
    }

    /**
     * This method sets the value of the database column user_open_platform_info.open_id
     *
     * @param openId the value for user_open_platform_info.open_id
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public Date getExpiresDate() {
		return expiresDate;
	}

	public void setExpiresDate(Date expiresDate) {
		this.expiresDate = expiresDate;
	}
}